3526dbc78de81285cb482f1b6227bd0f15ce1842,fuse/src/main/java/tachyon/fuse/TachyonFuseFs.java,TachyonFuseFs,rename,#String#String#,451
Before Change
ret = ErrorCodes.ENOENT();
} catch (IOException e) {
LOG.error("IOException while moving {} to {}", oldPath, newPath, e);
ret = ErrorCodes.EIO();
} catch (TachyonException e) {
LOG.error("Exception while moving {} to {}", oldPath, newPath, e);
ret = ErrorCodes.EFAULT();
After Change
return -ErrorCodes.ENOENT();
} catch (IOException e) {
LOG.error("IOException while moving {} to {}", oldPath, newPath, e);
return -ErrorCodes.EIO();
} catch (TachyonException e) {
LOG.error("Exception while moving {} to {}", oldPath, newPath, e);
return -ErrorCodes.EFAULT();